#include "stm32f4xx.h"
#include "stm32f4xx_Types.h"

/* Timer1&8 */
#define Tim1CR1		(UIN16) (0x0001)
#define Tim1CR2		(UIN16) (0x0000)
#define Tim1SMCR	(UIN16)	(0x0000)
#define Tim1DIER	(UIN16)	(0x0001)
#define Tim1EGR		(UIN16)	(0x0000)
#define Tim1CCMR1	(UIN16)	(0x0000)
#define Tim1CCMR2	(UIN16)	(0x0000)
#define Tim1CCER	(UIN16) (0x0000)
#define Tim1CNT		(UIN32)	(0x0000)
#define Tim1PSC		(UIN16)	(0x1500)
#define Tim1ARR		(UIN32)	(0xF423)


#define Tim8CR1		(UIN16) (0x0001)
#define Tim8CR2		(UIN16) (0x0000)
#define Tim8SMCR	(UIN16)	(0x0000)
#define Tim8DIER	(UIN16)	(0x0001)
#define Tim8EGR		(UIN16)	(0x0000)
#define Tim8CCMR1	(UIN16)	(0x0000)
#define Tim8CCMR2	(UIN16)	(0x0000)
#define Tim8CCER	(UIN16) (0x0000)
#define Tim8CNT		(UIN32)	(0x0000)
#define Tim8PSC		(UIN16)	(0x1500)
#define Tim8ARR		(UIN32)	(0xF423)



/* Timer2 to 5 */
#define Tim2CR1		(UIN16) (0x0001)
#define Tim2CR2		(UIN16) (0x0000)
#define Tim2SMCR	(UIN16)	(0x0000)
#define Tim2DIER	(UIN16)	(0x0001)
#define Tim2EGR		(UIN16)	(0x0000)
#define Tim2CCMR1	(UIN16)	(0x0000)
#define Tim2CCMR2	(UIN16)	(0x0000)
#define Tim2CCER	(UIN16) (0x0000)
#define Tim2CNT		(UIN32)	(0x0000)
#define Tim2PSC		(UIN16)	(0x5208)
#define Tim2ARR		(UIN32)	(0x1F40)


#define Tim5CR1		(UIN16) (0x0001)
#define Tim5CR2		(UIN16) (0x0000)
#define Tim5SMCR	(UIN16)	(0x0000)
#define Tim5DIER	(UIN16)	(0x0001)
#define Tim5EGR		(UIN16)	(0x0000)
#define Tim5CCMR1	(UIN16)	(0x0000)
#define Tim5CCMR2	(UIN16)	(0x0000)
#define Tim5CCER	(UIN16) (0x0000)
#define Tim5CNT		(UIN32)	(0x0000)
#define Tim5PSC		(UIN16)	(0x5208)
#define Tim5ARR		(UIN32)	(0x1F40)

/* Timer3 to 4 */
#define Tim3CR1		(UIN16) (0x0001)
#define Tim3CR2		(UIN16) (0x0000)
#define Tim3SMCR	(UIN16)	(0x0000)
#define Tim3DIER	(UIN16)	(0x0001)
#define Tim3EGR		(UIN16)	(0x0000)
#define Tim3CCMR1	(UIN16)	(0x0000)
#define Tim3CCMR2	(UIN16)	(0x0000)
#define Tim3CCER	(UIN16) (0x0000)
#define Tim3CNT		(UIN32)	(0x0000)
#define Tim3PSC		(UIN16)	(0x5208)
#define Tim3ARR		(UIN32)	(0x1F40)

#define Tim4CR1		(UIN16) (0x0001)
#define Tim4CR2		(UIN16) (0x0000)
#define Tim4SMCR	(UIN16)	(0x0000)
#define Tim4DIER	(UIN16)	(0x0001)
#define Tim4EGR		(UIN16)	(0x0000)
#define Tim4CCMR1	(UIN16)	(0x0000)
#define Tim4CCMR2	(UIN16)	(0x0000)
#define Tim4CCER	(UIN16) (0x0000)
#define Tim4CNT		(UIN32)	(0x0000)
#define Tim4PSC		(UIN16)	(0x5208)
#define Tim4ARR		(UIN32)	(0x1F40)

/* Tim9&12 */
#define Tim9CR1		(UIN16) (0x0001)
#define Tim9CR2		(UIN16) (0x0000)
#define Tim9SMCR	(UIN16)	(0x0000)
#define Tim9DIER	(UIN16)	(0x0001)
#define Tim9EGR		(UIN16)	(0x0000)
#define Tim9CCMR1	(UIN16)	(0x0000)
#define Tim9CCMR2	(UIN16)	(0x0000)
#define Tim9CCER	(UIN16) (0x0000)
#define Tim9CNT		(UIN32)	(0x0000)
#define Tim9PSC		(UIN16)	(0x1500)
#define Tim9ARR		(UIN32)	(0xF423)

#define Tim12CR1	(UIN16) (0x0001)
#define Tim12CR2	(UIN16) (0x0000)
#define Tim12SMCR	(UIN16)	(0x0000)
#define Tim12DIER	(UIN16)	(0x0001)
#define Tim12EGR	(UIN16)	(0x0000)
#define Tim12CCMR1	(UIN16)	(0x0000)
#define Tim12CCMR2	(UIN16)	(0x0000)
#define Tim12CCER	(UIN16) (0x0000)
#define Tim12CNT	(UIN32)	(0x0000)
#define Tim12PSC	(UIN16)	(0x5208)
#define Tim12ARR	(UIN32)	(0x1F40)

/* Tim10&11&13&14 */
#define Tim10CR1	(UIN16) (0x0001)
#define Tim10CR2	(UIN16) (0x0000)
#define Tim10SMCR	(UIN16)	(0x0000)
#define Tim10DIER	(UIN16)	(0x0001)
#define Tim10EGR	(UIN16)	(0x0000)
#define Tim10CCMR1	(UIN16)	(0x0000)
#define Tim10CCMR2	(UIN16)	(0x0000)
#define Tim10CCER	(UIN16) (0x0000)
#define Tim10CNT	(UIN32)	(0x0000)
#define Tim10PSC	(UIN16)	(0x1500)
#define Tim10ARR	(UIN32)	(0xF423)

#define Tim11CR1	(UIN16) (0x0001)
#define Tim11CR2	(UIN16) (0x0000)
#define Tim11SMCR	(UIN16)	(0x0000)
#define Tim11DIER	(UIN16)	(0x0001)
#define Tim11EGR	(UIN16)	(0x0000)
#define Tim11CCMR1	(UIN16)	(0x0000)
#define Tim11CCMR2	(UIN16)	(0x0000)
#define Tim11CCER	(UIN16) (0x0000)
#define Tim11CNT	(UIN32)	(0x0000)
#define Tim11PSC	(UIN16)	(0x1500)
#define Tim11ARR	(UIN32)	(0xF423)

#define Tim13CR1	(UIN16) (0x0001)
#define Tim13CR2	(UIN16) (0x0000)
#define Tim13SMCR	(UIN16)	(0x0000)
#define Tim13DIER	(UIN16)	(0x0001)
#define Tim13EGR	(UIN16)	(0x0000)
#define Tim13CCMR1	(UIN16)	(0x0000)
#define Tim13CCMR2	(UIN16)	(0x0000)
#define Tim13CCER	(UIN16) (0x0000)
#define Tim13CNT	(UIN32)	(0x0000)
#define Tim13PSC	(UIN16)	(0x5208)
#define Tim13ARR	(UIN32)	(0x1F40)

#define Tim14CR1	(UIN16) (0x0001)
#define Tim14CR2	(UIN16) (0x0000)
#define Tim14SMCR	(UIN16)	(0x0000)
#define Tim14DIER	(UIN16)	(0x0001)
#define Tim14EGR	(UIN16)	(0x0000)
#define Tim14CCMR1	(UIN16)	(0x0000)
#define Tim14CCMR2	(UIN16)	(0x0000)
#define Tim14CCER	(UIN16) (0x0000)
#define Tim14CNT	(UIN32)	(0x0000)
#define Tim14PSC	(UIN16)	(0x5208)
#define Tim14ARR	(UIN32)	(0x1F40)

/* Tim6&7 */
#define Tim6CR1		(UIN16) (0x0001)
#define Tim6CR2		(UIN16) (0x0000)
#define Tim6SMCR	(UIN16)	(0x0000)
#define Tim6DIER	(UIN16)	(0x0001)
#define Tim6EGR		(UIN16)	(0x0000)
#define Tim6CCMR1	(UIN16)	(0x0000)
#define Tim6CCMR2	(UIN16)	(0x0000)
#define Tim6CCER	(UIN16) (0x0000)
#define Tim6CNT		(UIN32)	(0x0000)
#define Tim6PSC		(UIN16)	(0x5208)
#define Tim6ARR		(UIN32)	(0x1F40)

#define Tim7CR1		(UIN16) (0x0001)
#define Tim7CR2		(UIN16) (0x0000)
#define Tim7SMCR	(UIN16)	(0x0000)
#define Tim7DIER	(UIN16)	(0x0001)
#define Tim7EGR		(UIN16)	(0x0000)
#define Tim7CCMR1	(UIN16)	(0x0000)
#define Tim7CCMR2	(UIN16)	(0x0000)
#define Tim7CCER	(UIN16) (0x0000)
#define Tim7CNT		(UIN32)	(0x0000)
#define Tim7PSC		(UIN16)	(0x5208)
#define Tim7ARR		(UIN32)	(0x1F40)
